
package instrumentation;

import java.util.List;


public class ConditionIf extends Condition {

	private static final long serialVersionUID = -439884149725011654L;
	public enum ConditionType {
		LT, LE, EQ, NE, GE, GT
	}
	private final ConditionType condType;
	private transient String condition;

	public ConditionIf( int branchId,String condition,  DataType dataType, 
						Value v1,DataUse use1, ConditionType condType,Value v2,DataUse use2, BlockMethodCall methodCall) {
		super(branchId,dataType, v1,use1,v2,use2, methodCall);
		this.condType = condType;
		this.condition = condition;
	}

	public ConditionType getConditionType() {
		return condType;
	}
	String getCondition() {
		return condition;
	}

}
